﻿using Model;
using FairyGUI;

namespace Hotfix
{
    [ObjectEvent(EventType.GameEnter,998)]
    public class GameEnter:IEvent
    {
        public void Handle(int[] type, params object[] param)
        {
            object[] obj = ParamsHelper.GetObj(1);
            obj[0] = (int)UIViewType.Game;
            Log.Info("事件：游戏正式开始");
            GameRoot.DispatcherSystem.Run(EventType.UIViewChange, null, obj);

        }
    }
}
